package com.qfedu.edu.constance;

/**
 * @author xiaobobo
 * @title: FTPConstance
 * @projectName seckill-fy-2401-parent
 * @description: 这个是FTP的常量类
 * @date 2024/11/7  11:07
 */
public class FTPConstance {

    //ip
    private static final String FTP_HOST = "10.7.165.113";
    //端口
    private static final Integer FTP_PORT = 21;
    //用户名
    private static final String FTP_USERNAME = "ftpuser";
    //密码
    private static final String FTP_PASSWORD = "12345678";
    //上传路径
    private static final String UPLOAD_PATH = "/usr/local/openresty/nginx/template/";


    public static String getUploadPath() {
        return UPLOAD_PATH;
    }

    public static String getFtpUsername() {
        return FTP_USERNAME;
    }

    public static String getFtpPassword() {
        return FTP_PASSWORD;
    }

    public static String getFtpHost() {
        return FTP_HOST;
    }

    public static Integer getFtpPort() {
        return FTP_PORT;
    }
}
